ShowNetErrorPageCallback

public interface ShowNetErrorPageCallback implements NavigationSyncCallback<P, R>

This callback is invoked when the engine is about to display a network error web page because the required web resource cannot be loaded because of a network error.

Use show to show the custom network error page with the given HTML.

Use showDefault to display the default Chromium network error page.

Important: the engine will be blocked until you return control from the callback.

Since

7.2

Types

Link copied to clipboard
public interface Params
Link copied to clipboard
public interface Response
A response for ShowNetErrorPageCallback.

Functions

Link copied to clipboard
@CheckForNull()
public abstract R on(P params)
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.